<%--
  Created by IntelliJ IDEA.
  User: 付万星
  Date: 2024/12/19
  Time: 21:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>理发管理页面</title>
</head>
<body>
<h1>用户管理</h1>
<table border="1">
    <c:forEach var="user" items="${userList}">
        <tr>
            <td>${user.id}</td>
            <td>${user.name}</td>
            <td>${user.password}</td>
            <td>${user.sex}</td>
            <td>${user.identify}</td>
            <td><a href="barber?m=deleteUser&id=${user.id}">删除</a> </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
